package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.pojo.LogQueryParam;
import org.example.pojo.OperateLog;

import java.util.List;

@Mapper
public interface LogMapper {
    @Select("select ol.*,e.name operateEmpName from operate_log ol,emp e where ol.operate_emp_id=e.id")
    List<OperateLog> page(LogQueryParam logQueryParam);
}
